Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

composer.json 'scripts' entries can be strings #91

Merged
merged 2 commits into from
Jun 4, 2024

Conversation

dzuelke
Copy link
Contributor

@dzuelke dzuelke commented Mar 22, 2024

Each value in the object can be a string for a single command, or list of commands:

{
  "scripts": {
    "foo": [
      "first-command",
      "second-command"
    ],
    "bar": "another-command"
  }
}

Fixes #90

@dzuelke dzuelke requested a review from a team as a code owner March 22, 2024 13:46
@edmorley edmorley added the bug Something isn't working label Mar 22, 2024
@dzuelke dzuelke force-pushed the fix-composer-json-script-string branch from 402755d to 8213285 Compare June 3, 2024 18:35
@dzuelke dzuelke force-pushed the fix-composer-json-script-string branch from 8213285 to 14f2416 Compare June 4, 2024 23:26
@dzuelke dzuelke merged commit cc624cd into main Jun 4, 2024
7 checks passed
@dzuelke dzuelke deleted the fix-composer-json-script-string branch June 4, 2024 23:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Composer.json scripts do not support strings
3 participants